
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<html>

<head>

</head>
<body>
	    你好, <%=request.getParameter("username")%> <br> 
    <%    
    String love=new String("你喜欢吃的水果有：");
    String[ ] params = request.getParameterValues("checkbox1");
    if( params!=null )  {
        for(int i=0;i<params.length;i++) 
        love+=params[i]+"  ";
    }
   %>
   <%=love%>

</body>
</html>